package com.itserver.service.article;

import com.itserver.pojo.PageResult;
import com.itserver.pojo.article.ArticleInfo;
import com.itserver.pojo.article.QueryArticleInfo;

import java.util.List;


public interface ArticleInfoService {
    PageResult<ArticleInfo> list(QueryArticleInfo params);

    void delete(List<Integer> ids);

    void add(ArticleInfo articleInfo);

    void publish(List<Integer> ids);

    void update(ArticleInfo articleInfo);

    ArticleInfo getById(Integer id);
}
